package com.hollycrm.unicom.sheet.query.logic.hibernate;

import org.springframework.orm.hibernate.support.HibernateDaoSupport;
import com.hollycrm.unicom.sheet.query.Condition;
import com.hollycrm.unicom.sheet.query.logic.QueryCreator;
import net.sf.hibernate.HibernateException;
import net.sf.hibernate.Query;
import net.sf.hibernate.Session;
import java.util.List;
/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */

public class HibernateArchiveQueryLogic
    extends HibernateDaoSupport
    implements QueryCreator {
    public HibernateArchiveQueryLogic() {
    }

    public Query createQuery(Session session, Condition con, boolean isCount) throws HibernateException{
        String str = "";
        Query query = session.createQuery(str);
        return query;
    }

    public void postProcessResult(Session session, Condition con,
                                  List resultList) {
    }
}